<include file="Public:header"/>

	<Joyeasy:list sql="SELECT * FROM `yey_category` where id=$parentid" id="r">		
			
		<!--首页zhongbox-->
		<div class="zhongbox">
			<div class="zhongnr">
				<!--二级banner-->
				<div class="erjibanner">
					<img src="{$r.image}" width="836" height="280" />
				</div>
				<!--二级banner-->
				<!--二级tou-->
				<div class="erjit">
					<div class="erjit_t">
					{$r.catname}
					</div>
					<img src="../Public/img/qidi.jpg" style="float:right;margin-right:20px;" />
					<div class="clear"></div>
				</div>
				<!--二级tou-->
				<style>
				.wenjuanbiaoti{width:816px;height:40px;line-height:40px;font-size:16px;font-weight:bold;}
				.diyixiao{float:left;border-right:1px solid #333;overflow:hidden;height:30px;width:56px;}
				.diyixiao_shuru{float:left;width:364px;height:25px;}
				</style>
				<!--二级content-->
				<div class="erji_nr" style="width:796px;padding:20px;">
				{$content}
				</div>
				
				<div class="erji_nr" style="width:816px;height:auto;padding:10px;">
					<div style="width:816px;height:40px;line-height:40px;text-align:center;font-size:24px;font-weight:bold;">
					{$title}
					</div>
					<form method="post" action="{:U('Home/Index/wenjuando/')}" name="form">
					<input name="wenjuantiid" type="hidden" value="{$parentid}" />	
					<div style="width:816px;height:40px;line-height:40px;">
						<script>
						function show_banji(){
							var yuan_id=$('#yuansuo').val();	
								
							$.post("{:U('Home/Index/show_banji/')}",{yuan_id:yuan_id}, function(v){
								$('#suozaibanji').html(v);
							});
						}
						function show_jiaoshi(){
							var ban_id=$('#suozaibanji').val();	
								
							$.post("{:U('Home/Index/show_jiaoshi/')}",{ban_id:ban_id}, function(v){
								$('#jiaoshilist').html(v);
							});
						}
						</script>
						<span>您孩子所在园所：</span>
						<select name="yuansuo" id="yuansuo" onchange="show_banji()">
							
							<option value="0">所在园所</option>
							<Joyeasy:list sql="SELECT * FROM `yey_category` where parentid=31" id="yuansuo">
								<option value="{$yuansuo.id}">{$yuansuo.catname}</option>
							</Joyeasy:list>
						</select>
						<span style="margin-left:40px;">班级：</span>
						<select name="banji" id="suozaibanji" onchange="show_jiaoshi()">
							
							<option value="0">班级</option>
							
						</select>
					</div>
					<div style="width:816px;height:auto">
						<!--第一大题-->
						<Joyeasy:list sql="SELECT * FROM `yey_category` where parentid=$parentid and moduleid=21" id="diyi">	
						<div class="wenjuanbiaoti">
							{$diyi.catname}	
						</div>
						<div style="width:814px;height:auto;border-top:1px solid #333;border-left:1px solid #333;">
							<div style="width:814px;height:30px;border-bottom:1px solid #333;line-height:30px;text-align:center;">
								<div class="diyixiao"  style="width:120px;">
								项目
								</div>
								<div class="diyixiao"  style="width:70px;">
								A.满意
								</div>
								<div  class="diyixiao" style="width:100px;">
								B.比较满意
								</div>
								<div  class="diyixiao" style="width:70px;">
								C.一般
								</div>
								<div class="diyixiao"  style="width:80px;">
								D.不满意
								</div>
								<div class="diyixiao"  style="width:368px;">
								不满意的原因
								</div>
								<div class="clear"></div>
							</div>
							
							<Joyeasy:list sql="SELECT * FROM `yey_danxuan` where catid=$diyi[id]" id="diyixiao">
							<div style="width:814px;height:30px;border-bottom:1px solid #333;line-height:30px;text-align:center;">
								<div class="diyixiao"  style="width:120px;">
								{$diyixiao.title}
								</div>
								<input name="diyixiaoti{$diyixiao.id}" type="hidden" value="{$diyixiao.title}" />
								<div class="diyixiao" style="width:70px;">
									<input name="diyixiaoxuan{$diyixiao.id}" type="radio" value="{$diyixiao.xxa}" />
									<span>{$diyixiao.xxa}</span>
								</div>
								<div class="diyixiao"  style="width:100px;">
									<input name="diyixiaoxuan{$diyixiao.id}" type="radio" value="{$diyixiao.xxb}" />
									<span>{$diyixiao.xxb}</span>
								</div>
								<div class="diyixiao"  style="width:70px;">
									<input name="diyixiaoxuan{$diyixiao.id}" type="radio" value="{$diyixiao.xxc}" />
									<span>{$diyixiao.xxc}</span>
								</div>
								<div class="diyixiao"  style="width:80px;">
									<input name="diyixiaoxuan{$diyixiao.id}" type="radio" value="{$diyixiao.xxd}" />
									<span>{$diyixiao.xxd}</span>
								</div>
								<div class="diyixiao"  style="width:368px;">
									<input name="diyixiaoyuanyin{$diyixiao.id}" type="text" value="" class="diyixiao_shuru" />
								</div>
								<div class="clear"></div>
							</div>
							</Joyeasy:list>
							
							<div style="width:814px;height:auto;border-bottom:1px solid #333;line-height:30px;text-align:center;">
								<div class="diyixiao"  style="width:120px;height:auto;border-right:none;">
								总体上不满意<br />的原因与建议
								</div>
								<div class="diyixiao" style="width:692px;height:auto;border-right:1px solid #333;border-left:1px solid #333;">
									<textarea name="diyidajianyi" style="width:690px;height:auto;min-height:60px;"></textarea>
									<input name="diyidati" type="hidden" value="{$diyi.catname}" />
								</div>
								<div class="clear"></div>
							</div>
							<div class="clear"></div>
						</div>
						</Joyeasy:list>
						<!--第一大题-->
						<!--第二大题-->
						<Joyeasy:list sql="SELECT * FROM `yey_category` where parentid=$parentid and moduleid=23" id="dier">	
						<div class="wenjuanbiaoti">
							{$dier.catname}	
						</div>
						<div style="width:814px;height:auto;border-top:1px solid #333;border-left:1px solid #333;">
							<div style="width:814px;height:120px;border-bottom:1px solid #333;line-height:30px;text-align:center;">
								<div class="diyixiao"  style="width:129px;height:120px;">
								姓名
								</div>
								<Joyeasy:list sql="SELECT * FROM `yey_jsping` where catid=$dier[id] limit 0,3" id="dierxiao">
								<input type="hidden" value="{$dierxiao.id}" name="dierti{$dierxiao.id}" />
								<div style="width:228px;height:120px;float:left;">
									<div style="width:227px;height:90px;float:left;line-height:30px;border-right:1px solid #333;border-bottom:1px solid #333;">
										<div style="width:227px;height:30px;font-size:18px;font-weight:bold;">
										<input type="hidden" value="{$dierxiao.title}" name="diertititle{$dierxiao.id}" />
										{$dierxiao.title}
										</div>
										<div style="width:227px;height:60px;font-size:12px;overflow:auto;">
										{$dierxiao.shuoming}
										</div>
									</div>
									
									<div class="diyixiao">
									满意
									</div>
									<div  class="diyixiao">
									较满意
									</div>
									<div  class="diyixiao">
									一般
									</div>
									<div class="diyixiao">
									不满意
									</div>
								</div>
								</Joyeasy:list>
								<div class="clear"></div>
							</div>
							
							<div style="width:814px;height:auto;" id="jiaoshilist">
								<div class="clear"></div>
							</div>
							<div style="width:814px;height:auto;border-bottom:1px solid #333;line-height:30px;text-align:center;">
								<div class="diyixiao"  style="width:129px;height:auto;border-right:none;">
								不满意原<br />因及建议
								</div>
								<div class="diyixiao" style="width:683px;height:auto;border-right:1px solid #333;border-left:1px solid #333;">
									<textarea name="dierdajianyi" style="width:681px;height:auto;min-height:60px;"></textarea>
									<input name="dierdati" type="hidden" value="{$dier.catname}" />
								</div>
								<div class="clear"></div>
							</div>
							<div class="clear"></div>
						</div>
						</Joyeasy:list>
						<!--第二大题-->
						<!--第三大题-->
						<div style="width:814px;height:auto;">
							<Joyeasy:list sql="SELECT * FROM `yey_category` where parentid=$parentid and moduleid=24" id="disan">	
								<div class="wenjuanbiaoti">
									{$disan.catname}	
								</div>
								<style>
								.wenjuanxiaobiaoti{width:814px;height:30px;line-height:30px;font-weight:bold;}
								.wenjuanxiaoti{width:814px;height:auto;line-height:30px;}
								.wenjuanxiaotili{float:left;padding-right:10px;}
								</style>
								<Joyeasy:list sql="SELECT * FROM `yey_richang` where catid=$disan[id]" id="disanxiao" key="i">
								<div class="wenjuanxiaobiaoti">
									{$i}、{$disanxiao.title}
								</div>
								<div class="wenjuanxiaoti">
									<div class="wenjuanxiaotili">
										<input name="disanxiao{$disanxiao.id}" type="radio" value="{$disanxiao.xxa}" />
										<span>{$disanxiao.xxa}</span>
									</div>
									<div class="wenjuanxiaotili">
										<input name="disanxiao{$disanxiao.id}" type="radio" value="{$disanxiao.xxb}" />
										<span>{$disanxiao.xxb}</span>
									</div>
									<div class="wenjuanxiaotili">
										<input name="disanxiao{$disanxiao.id}" type="radio" value="{$disanxiao.xxc}" />
										<span>{$disanxiao.xxc}</span>
									</div>
									<div class="wenjuanxiaotili">
										<input name="disanxiao{$disanxiao.id}" type="radio" value="{$disanxiao.xxd}" />
										<span>{$disanxiao.xxd}</span>
									</div>
									<div class="clear"></div>
								</div>
								</Joyeasy:list>
							</Joyeasy:list>
						</div>
						<!--第三大题-->
						<!--第四大题-->
						<div style="width:814px;height:auto;">
							<Joyeasy:list sql="SELECT * FROM `yey_category` where parentid=$parentid and moduleid=22" id="disi">	
								<div class="wenjuanbiaoti">
									{$disi.catname}	
								</div>
								<style>
								.wenjuanxiaobiaoti{width:814px;height:30px;line-height:30px;font-weight:bold;}
								.wenjuanxiaoti{width:814px;height:auto;line-height:30px;}
								.wenjuanxiaotili{float:left;padding-right:10px;}
								</style>
								<Joyeasy:list sql="SELECT * FROM `yey_duoxuan` where catid=$disi[id]" id="disixiao" key="i">
								<div class="wenjuanxiaobiaoti">
									{$i}、{$disixiao.title}
								</div>
								<div class="wenjuanxiaoti">
									<if condition="$disixiao.xxa == ''">
									<else />
										<div class="wenjuanxiaotili">
											<input name="disixiao{$disixiao.id}[]" type="checkbox" value="{$disixiao.xxa}" />
											<span>{$disixiao.xxa}</span>
										</div>
									</if>
									<if condition="$disixiao.xxb == ''">
									<else />
										<div class="wenjuanxiaotili">
											<input name="disixiao{$disixiao.id}[]" type="checkbox" value="{$disixiao.xxb}" />
											<span>{$disixiao.xxb}</span>
										</div>
									</if>
									<if condition="$disixiao.xxc == ''">
									<else />
										<div class="wenjuanxiaotili">
											<input name="disixiao{$disixiao.id}[]" type="checkbox" value="{$disixiao.xxc}" />
											<span>{$disixiao.xxc}</span>
										</div>
									</if>
									<if condition="$disixiao.xxd == ''">
									<else />
										<div class="wenjuanxiaotili">
											<input name="disixiao{$disixiao.id}[]" type="checkbox" value="{$disixiao.xxd}" />
											<span>{$disixiao.xxd}</span>
										</div>
									</if>
									<if condition="$disixiao.xxe == ''">
									<else />
										<div class="wenjuanxiaotili">
											<input name="disixiao{$disixiao.id}[]" type="checkbox" value="{$disixiao.xxe}" />
											<span>{$disixiao.xxe}</span>
										</div>
									</if>
									<if condition="$disixiao.xxf == ''">
									<else />
										<div class="wenjuanxiaotili">
											<input name="disixiao{$disixiao.id}[]" type="checkbox" value="{$disixiao.xxf}" />
											<span>{$disixiao.xxf}</span>
										</div>
									</if>
									<if condition="$disixiao.xxg == ''">
									<else />
										<div class="wenjuanxiaotili">
											<input name="disixiao{$disixiao.id}[]" type="checkbox" value="{$disixiao.xxg}" />
											<span>{$disixiao.xxg}</span>
										</div>
									</if>
									<if condition="$disixiao.xxh == ''">
									<else />
										<div class="wenjuanxiaotili">
											<input name="disixiao{$disixiao.id}[]" type="checkbox" value="{$disixiao.xxh}" />
											<span>{$disixiao.xxh}</span>
										</div>
									</if>
									<if condition="$disixiao.xxi == ''">
									<else />
										<div class="wenjuanxiaotili">
											<input name="disixiao{$disixiao.id}[]" type="checkbox" value="{$disixiao.xxi}" />
											<span>{$disixiao.xxi}</span>
										</div>
									</if>
									<if condition="$disixiao.qita == ''">
									<else />
										<div class="wenjuanxiaotili">
											<span>{$disixiao.qita}</span>
											<input name="disixiaoqita{$disixiao.id}" type="text" value="" />
										</div>
									</if>
									<div class="clear"></div>
								</div>
								</Joyeasy:list>
								<div class="wenjuanxiaobiaoti">
									{$i+1}、您对幼儿园的其他意见和建议：
								</div>
								<div class="wenjuanxiaoti">
									<textarea name="qitayijian" style="width:812px;height:80px;"></textarea>
									<div class="clear"></div>
								</div>
							</Joyeasy:list>
						</div>
						<!--第四大题-->
						<input type="submit" value="提交" style="padding:5px 10px;margin-top:10px;" />
					</div>
					</form>
				</div>
				
				<div class="erji_nr" style="min-height:0;width:796px;padding:20px;">
				{$ganxie}
				</div>
				<!--二级content-->
				<div class="clear"></div>
			</div>
		</div>
		<!--首页zhongbox-->
	</Joyeasy:list>

<include file="Public:footer"/>
